
/**
 * 测点信息值对象
 *
 * @export 
 * @class Tag
 */
export class Tag {
  
  /**
   * Creates an instance of Tag.
   * @param {number} tagId 测点ID
   * @param {string} tagKey 测点Key
   * @param {string} tagCode 测点编码
   * @param {string} tagName 测点名称
   * @param {string} tagKind 测点性质标识
   * @param {string} tagSet 测点设置
   * @param {boolean} tagDefinition 测点定义
   * @param {number} turbComponentId 测点所属部件ID
   * @param {string} turbComponent （要删除）
   * @param {string} tagUnit  测点单位
   * @param {string} tagDesc 测点描述
   * @param {number} [tagMax] 测点最大值
   * @param {number} [tagMin] 测点最小值
   * @param {string} [turbComponentName]  测点所属部件名称
   * @param {string} [tagType]  测点类型
   * @param {boolean} [isChecked=false] 
   * @memberof Tag
   */
  constructor(
    
    public tagId: number,
    public tagKey: string,
    public tagCode: string,  
    public tagName: string, 
    public tagUnit: string, 
    public tagDesc: string, 
    public tagType:string,
    public tagKind?: string,  
    public tagSet?: string,   
    // public tagDefinition?:boolean,
    public turbComponentId?: number, 
    public turbComponent?: string, 
    public tagMax?: number,
    public tagMin?: number,  
    public turbComponentName?:string,
    public isChecked: boolean = false) {
        Object.defineProperty(this, "isChecked", { enumerable: false });
        Object.defineProperty(this, "turbComponentName", { enumerable: false });
    }

}



// WEBPACK FOOTER //
// ./src/app/entity/tag.model.ts